From: Florian Müllner Date: Thu, 9 Nov 2023 23:08:18 +0000 (+0100) Subject: windowPreview: Don't hide overlay while hovering icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~258 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=39d298886594eda8ecb3fe14e7a5ef7936a4e649;p=gnome-shell.git windowPreview: Don't hide overlay while hovering icon We should treat the icon like we do the caption or close button, and still consider the preview hovered when the pointer is over the icon. Part-of: --- diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js index 65e2a309e..d865e6e25 100644 --- a/js/ui/windowPreview.js +++ b/js/ui/windowPreview.js @@ -577,6 +577,7 @@ export const WindowPreview = GObject.registerClass({ GLib.PRIORITY_DEFAULT, WINDOW_OVERLAY_IDLE_HIDE_TIMEOUT, () => { if (this._closeButton['has-pointer'] || + this._icon['has-pointer'] || this._title['has-pointer']) return GLib.SOURCE_CONTINUE;